<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script>
		 function ming(name,age,sex,friend,say){
		 	this.name=name;
		 	this.age=age;
		 	this.sex=sex;
		 	this.friend=friend;
		 	this.say=say
		 }
		 var Xming=new ming('小明',18,'男','男朋友','我是小明的男朋友')
		 alert(Xming.name+'今年'+Xming.age+'岁，性别'+Xming.sex+',他有一个'+Xming.friend+'，她男朋友说'+Xming.say)
	</script>
</html>
